use git_tools::app;
use sea_orm::EntityTrait;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    app::bootstrap::init().await?;
    let db = common::get_conn();
    let result = dao::gitlab_info::Entity::find_by_id(1).one(&db).await?;
    tracing::info!("查询一条数据: {:#?}", result);
    Ok(())
}
